<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<DiscMaster.Web.Models.Club>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	DiscMaster | Clubs | Editing <%= Model.name %>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h1><%= Model.name %> <sup>(editing)</sup></h1>

    <%= Html.ValidationSummary("Edit was unsuccessful. Please correct the errors and try again.") %>

    <% using (Html.BeginForm()) {%>

    <%= Html.EditorForModel() %>
    
<input type="submit" value="Save" />
    <% } %>
    <div>
        <%=Html.ActionLink("Back to details", "Details", "Clubs", new { id = Model.clubid }, null)%>
    </div>
</asp:Content>

